// 导入axios工具包
import instance from '@/utils/axios.js'

export function gettechnic(params) {
  return instance({
    url: '/articles/technic',
    params
  })
}

//面经列表
export function getshare(params) {
  return instance({
    url: '/articles/share',
    params
  })
}

//热门数据
export function gethot(params) {
  return instance({
    url: '/chart-data/hot',
    params,
  })
}

//根据id获取面经详情
export function getshareID(id) {
  return instance({
    url: `/articles/share/${id}`
  })
}

//面经热搜
export function getshareTopSearch() {
  return instance({
    url: `/articles/shareTopSearch`
  })
}
